<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加学员信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/statics/css/styles.css" />
	<link style="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/statics/my97/skin/WdatePicker.css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/statics/my97/WdatePicker.js"></script>

  </head>
  
  <body>
  	<form action="${pageContext.request.contextPath}/student/add" method="post">
  		<table class="form-control">
  			<tr>
  				<th>学号：</th>
  				<td>
  					<input class="input-box" type="text" name="id" /> 
  				</td>
  			</tr>
  			<tr>
  				<th>姓名：</th>
  				<td>
  					<input class="input-box" type="text" name="name" /> 
  				</td>
  			</tr>
  			<tr>
  				<th>性别：</th>
  				<td class="radio-box">
  					<input type="radio" name="sex" value="true" checked="checked" />男
  					<input type="radio" name="sex" value="false" />女 
  				</td>
  			</tr>
  			<tr>
  				<th>生日：</th>
  				<td>
  					<input type="text" name="bornDate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd',readOnly:true})" class="input-date" /> 
  				</td>
  			</tr>
  			
  			<tr>
  				<td colspan="2" class="region-btn">
  					<input type="submit" class="input-btn" value="提交"/>
  					<input type="button" class="input-btn" value="返回"/>
  				</td>
  			</tr>
  		</table>
  	</form>
  </body>
</html>
